#pragma once

#if defined (_MSC_VER)
#   ifdef CPPXLUADBG_EXPORTS
#       define _LUADBG_API __declspec(dllexport)
#   else
#       define _LUADBG_API __declspec(dllimport)
#       define _LUAVM_API __declspec(dllimport)
//#       include "../cppx.core/dllmain.h"
//#       ifdef CPPX_USE_AUTOLINK
//#           pragma comment(lib,GET_CPPX_LIB_NAME(cppx.luadbg))
//#           pragma message("Linking to lib file: " GET_CPPX_LIB_NAME(cppx.luadbg))
//#       endif // CPPX_USE_AUTOLINK
#   endif
#   pragma warning(disable:4275)
#endif // _MSC_VER

#ifndef _LUADBG_API
#define _LUADBG_API
#endif

#ifndef LUA_DEBUG_BEGIN
#define LUA_DEBUG_BEGIN namespace LuaDebug {
#endif
#ifndef LUA_DEBUG_END
#define LUA_DEBUG_END   }
#endif
